<script stype="text/javascript" charset="utf-8" src="js/login_handler.js"></script>
<script stype="text/javascript" charset="utf-8" src="js/logout_handler.js"></script>
<div id="form_login" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="loginmodal" aria-hidden="true">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
			×
		</button>
		<h4>Đăng nhập</h4>
	</div>
	<div class="modal-body">

		<div class="form">

			<!-- Login form (not working)-->
			<form class="form-horizontal" action="javascript:login()" method="post">
				<!-- Username -->
				<div class="control-group">
					<label class="control-label" for="email">Email</label>
					<div class="controls">
						<input type="text" class="input-large" id="login_email">
					</div>
				</div>
				<!-- Password -->
				<div class="control-group">
					<label class="control-label" for="password">Mật khẩu</label>
					<div class="controls">
						<input type="password" class="input-large" id="login_password">
					</div>
				</div>

				<!-- Buttons -->
				<div class="form-actions">
					<!-- Buttons -->
					<button type="button" onclick="login()" class="btn" name="submit" value="Login">
						Đăng nhập
					</button>
					<button type="reset" class="btn">
						Nhập lại
					</button>
				</div>
			</form>
		</div>

	</div>
	<div class="modal-footer">
		<p>
			Chưa có tài khoản? <a href="#register" data-toggle="modal" data-dismiss="modal" >Đăng ký</a>
		</p>
	</div>
</div>